package com.ssy.lingxi.product.model.request;

import lombok.Data;

import javax.persistence.Id;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author hsl
 * @version 2.0.0
 * @date 22/03/22 18:45
 */
@Data
public class MaterialGroupChangeParentRequest {

    /**
     * id
     */
    @NotNull(message = "id不能为空")
    private Long id;

    /**
     * 父级id
     */
    @NotNull(message = "父级id不能为空")
    private Long parentId;
}
